<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
Class Download_m extends CI_Model{
    function __construct() {
        parent::__construct();
        $this->load->database();
    }
    function getCSVfromDB($name)
    {
        $this->db->select();
        $this->db->from('CSV');
        $this->db->like('Name',$name);
        $query=$this->db->get();         
        return $query->result();
    }
}
?>